package com.rico.deploy.service;

import com.rico.deploy.entity.Campus;
import com.rico.deploy.entity.College;

import java.util.List;

/**
 * @author 夏智力
 * @FileName CollegeService
 * @date 2021/4/29 21:51
 * @Software: IntelliJ IDEA
 */
public interface CollegeService {


    List<College> selectAll();

    List<College> selectAll(Integer page, Integer limit);

    String selectCollegeCodeByCollegeName(String collegeName);

    College selectById(Integer id);

    College selectByCampusName(String campus_name);

    int insertCollege(College college);

    int deleteCollegeById(Integer id);

    int updateCollege(College college);
}
